﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _10第三天
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("小小，请输入你的语文成绩!");
            int str_Chinese = Convert.ToInt32(Console.ReadLine());
            
            Console.WriteLine("小小,请输入你的数学成绩");
            int str_Math = Convert.ToInt32(Console.ReadLine());
            bool a = str_Chinese > 90 && str_Math > 90;
            //bool a = str_Math > 90 || str_Chinese > 90;
            Console.WriteLine(a);
            Console.ReadKey();
            //string t = "123";
            ////convert转换工厂将string类型的变量转换为double
            //double h = Convert.ToDouble(t);
            //Console.WriteLine(h);
            //Console.ReadKey();
            //Console.WriteLine("请输入你的名字");
            //string name = Console.ReadLine();
            //Console.WriteLine("请输入你的数一成绩");
            //string str_Math = Console.ReadLine();
            //Console.WriteLine("请输入你的英语成绩");
            //string str_English = Console.ReadLine();
            //Console.WriteLine("请输入你的政治成绩");
            //string str_Politics = Console.ReadLine();
            //Console.WriteLine("请输入你的专业成绩");
            //string str_Specialty = Console.ReadLine();
            ////convert转换工厂将string类型的变量转换为int;
            //int math = Convert.ToInt32(str_Math);
            //int english = Convert.ToInt32(str_English);
            //int politics = Convert.ToInt32(str_Politics);
            //int specialty = Convert.ToInt32(str_Specialty);
            //Console.WriteLine("{0}你的总分是{1},平均分是{2}",name,math+english+politics+specialty,(math+english+politics+specialty)/3);
            //Console.ReadKey();
            //int n = 5;
            //int number = n++ + ++n * 2 + --n + n++; 
            //Console.WriteLine(n);
            //Console.WriteLine(number);
            //Console.ReadKey();



            //关系运算符
            //bool类型用来描述对或者是错，bool类型有两个，一个TRUE，一个是flase
           // bool b= 1500 > 1;//关系表达式结果是bool类型
           // Console.WriteLine(b);
           // Console.ReadKey();

           
            
                
            

        }
    }
}
